vcCollisionManager

vcCollisionManager is a class that moitors existing active vcCollisionDetector.OnCollision events. When manager is active and detectors are active, it can be used as a single source to monitor collision events from those detectors.

See in: Overview

Module: vcCore

Parent: vcObject

Children -

Referenced by: vcWorld.CollisionManager

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
ActiveBooleanRGets a value indicating whether this manager is actively monitoring collisions.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
startNoneNoneStarts monitoring for active collision detector OnCollision events.
stopNoneNoneStops monitoring for events.

Events

Learn how to use events here. The events are also inherited from the parent class.

NameParametersDescription
OnCollisionvcCollisionDetector detector,
list[vcCollisionRecord] collisionRecords
Triggered when a collision is detected.
See more
Parameters:
detector (vcCollisionDetector): Detector that triggered collision event.
collisionRecords (list[vcCollisionRecord]): List of vcCollisionRecord that produced given detector.